
<template>
    <div class="serach">
        <el-input suffix-icon="iconfont el-icon-search" size="mini" placeholder="输入内容回车" v-model="input" clearable></el-input>
    </div>
</template>
    
<script lang="ts">
import { defineComponent, ref } from 'vue'

export default defineComponent({
    setup() {
        return {
            input: ref('')
        }
    }
})
</script>
    
<style>
.serach {
    max-width: 180px;
    margin-top: 1.1rem;
    float: right;
}


</style>
    